package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.dto.OrdersDto;
import com.itheima.reggie.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author 黑马程序员
 * @since 2022-06-06
 */
public interface OrdersService extends IService<Orders> {

    void saveByOrders( Orders orders);

    Page<OrdersDto> selectByPage(int pagesize,int page);

    void again(Orders orders);
}
